package cn.ht.jywrwater.module.ht.controller.admin.waterqualityalertcount.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ht.jywrwater.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ht.jywrwater.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 水质统计 Excel 导出 Request VO，参数和 WaterQualityAlertCountPageReqVO 是一致的")
@Data
public class WaterQualityAlertCountExportReqVO {

    @Schema(description = "类型（出厂、末梢）", example = "1")
    private Integer waterType;

    @Schema(description = "水质指标类型", example = "1")
    private Integer alertType;

    @Schema(description = "年份")
    private String yearValue;

    @Schema(description = "月份")
    private String monthValue;

    @Schema(description = "日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] dataDate;

    @Schema(description = "数量", example = "24710")
    private Integer alertCount;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
